package com.dom.api.sale;

import com.dom.common.model.standard.ResponseModel;
import com.dom.common.model.vo.sale.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 * @author zhuwei
 * @Date 2018-11-17
 */
@RequestMapping("/invo/sale")
public interface SaleOrderApi {

    @RequestMapping(value = "/getSaleOrderList", method = RequestMethod.POST)
    M019A getSaleOrderList(@RequestBody M019R m019R);

    @RequestMapping(value = "/insertSaleOrder", method = RequestMethod.POST)
    String insertSaleOrder(@RequestBody M010R requst);

    @RequestMapping(value = "/getMarketOrderDetailList", method = RequestMethod.POST)
    M013A getMarketOrderDetailList(@RequestBody M013R request);

    @RequestMapping(value = "/saleOrderDel", method = RequestMethod.POST)
    boolean saleOrderDel(@RequestParam("keyId") String keyId);

    @RequestMapping(value = "/saleOrderModify",method = RequestMethod.POST)
    ResponseModel saleOrderModify(@RequestBody M012R request);
}
